package com.net.xpay.common.service;

import com.net.xpay.common.domain.partner.Partner;
import com.net.xpay.common.domain.partner.PartnerSettleRecord;

import java.time.LocalDate;

/**
 * 2020/9/3 17:41

 */
public interface PartnerSettleInnerService {

    /**
     * 统计合伙人佣金
     */
    void doStatPartnerSettleRecord(Partner partner, LocalDate day, PartnerSettleRecord record);

    /**
     * 结算合伙人佣金
     */
    void doSettlePartnerBenefit(Partner partner);
}
